<link rel="stylesheet" href="templates/authority/zzgl/css/authority.css" />
<link rel="stylesheet" href="templates/authority/common/css/zTreeStyle.css" />
<link rel="stylesheet" href="templates/authority/common/css/cropper.css" />
<div class="pd14 vany_authority">
    <div class="vany_treeTable pd14" id="authority">
        <!--面包屑-->
        <div class="pb10" id="crumbs">
            <el-breadcrumb separator="/">
                <el-breadcrumb-item :to="{ path: '/' }">消息管理</el-breadcrumb-item>
                <el-breadcrumb-item :to="{ path: '/' }">消息设置</el-breadcrumb-item>
                <el-breadcrumb-item>签名设置</el-breadcrumb-item>
            </el-breadcrumb>
        </div>
        <div id="treeTable" class="treeTable">
            <!--树-->
            <div class="item i1 vany_tree" id="move_left">
                <div class="relative">
                    <!--树的搜索功能-->
                    <div class="pd14">
                        <div class="search-bar">
                            <input type="text" id="key" value="" class="empty" placeholder="请输入机构名称" />
                            <i class="el-input__icon el-icon-search"></i>
                        </div>
                    </div>
                    <div class="treeTitle" id="treeTitle">
                        <i class="iconfont">&#xe797;</i>组织列表
                    </div>
                    <ul id="treeDemo" class="ztree"></ul>
                    <div class="moveline"></div>
                </div>
            </div>
            <!--签名设置-->
            <div class="item i2" id="signNature" style="font-family:serif">
                            <!--<div style="margin: 20px 0px 20px 100px;width: 635px;">-->
                                <!--<input type="hidden" v-model="deptSignId" />-->
                                <!--<input type="hidden" v-model="orgCode" />-->
                                <!--<el-row>-->
                                    <!--<span style="font-size: 15px;"><strong>签名设置</strong></span>-->
                                <!--</el-row>-->
                                <!--<el-row :gutter="20" style="margin-top: 20px;">-->
                                    <!--<el-col :span="4"><span style="font-size: 14px;line-height: 30px;">签名设置:</span></el-col>-->
                                    <!--<el-col :span="12">-->
                                        <!--<el-input v-model="signContent"  placeholder="万雍科技"></el-input>-->
                                    <!--</el-col>-->
                                <!--</el-row>-->
                                <!--<el-row :gutter="20"  style="margin-top: 20px;">-->
                                    <!--<el-col :span="4"><span style="font-size: 14px;line-height: 30px;">签名示例:</span></el-col>-->
                                    <!--<el-col :span="12"><strong style="font-size: 14px;line-height: 30px;">今天下午请大家12：00-13:00排队领取主要方</strong></el-col>-->
                                <!--</el-row>-->
                                <!--<el-row>.-->
                                    <!--<el-col :span="6" :offset="4"><el-checkbox v-model="topSign" size="small"><strong style="font-size: 14px;line-height: 30px;">允许顶级标签【万雍科技】</strong><span style="color: #c12e2a">*默认可以使用本部门标签</span></el-checkbox></el-col>-->
                                <!--</el-row>-->
                            <!--</div>-->
                            <!--<hr>-->
                            <!--<div style="width: 635px; margin: 20px 0px 20px 100px;">-->
                                <!--<el-row>-->
                                    <!--<el-col :span="4">-->
                                        <!--<span style="font-size: 15px;"><strong>发件箱设置</strong></span>-->
                                    <!--</el-col>-->
                                    <!--<el-col :span="12">-->
                                        <!--<span style="color: #c12e2a;margin-left: 10px;font-size: 15px;">默认使用顶级邮箱进行发送</span>-->
                                    <!--</el-col>-->

                                <!--</el-row>-->
                                <!--<input type="hidden" v-model="orgMailId">-->
                                <!--<el-row :gutter="20" style="margin-top: 20px;">-->
                                    <!--<el-col :span="4"><span style="font-size: 14px;line-height: 30px;">发件箱用户名:</span></el-col>-->
                                    <!--<el-col :span="12"><el-input v-model="maillAccount" placeholder="smtp.qq.com" ></el-input></el-col>-->
                                <!--</el-row>-->
                                <!--<el-row :gutter="20" style="margin-top: 20px;">-->
                                    <!--<el-col :span="4"><span style="font-size: 14px;line-height: 30px;">发件箱密码:</span></el-col>-->
                                    <!--<el-col :span="12"><el-input v-model="mailPassword" placeholder="********"></el-input></el-col>-->
                                <!--</el-row>-->
                                <!--<el-row :gutter="20" style="margin-top: 20px;">-->
                                    <!--<el-col :span="4"><span style="font-size: 14px;line-height: 30px;">发件箱服务器:</span></el-col>-->
                                    <!--<el-col :span="12"><el-input  v-model="mailServerAddress" placeholder="smtp.qq.com"></el-input></el-col>-->
                                <!--</el-row>-->
                                <!--<el-row :gutter="20" style="margin-top: 20px;">-->
                                    <!--<el-col :span="4"><span style="font-size: 14px;line-height: 30px;">服务端口:</span></el-col>-->
                                    <!--<el-col :span="12"><el-input v-model="mailServerPort" placeholder="25"></el-input></el-col>-->
                                <!--</el-row>-->
                            <!--</div>-->
                    <div class="pd14">
                    <el-form label-width="130px" :model="ruleForm" ref="ruleForm" :rules="rules" style="margin: 20px 0px 20px 100px;width: 430px;">
                        <div class="el-form-item">
                            <label class="el-form-item__label" style="width: 130px;"><span style="font-size: 15px;margin-bottom: 20px;"><strong>签名设置</strong></span></label>
                        </div>
                        <!--<input type="hidden" v-model="deptSignId" />-->
                        <!--<input type="hidden" v-model="orgCode" />-->
                        <el-form-item label="签名设置:" prop="signContent" style="width: 730px;">
                            <el-row>
                                <el-col :span="12">
                                    <el-input v-model="ruleForm.signContent"  placeholder="万雍科技"></el-input>
                                </el-col>
                                <el-col :span="12">
    <span>
                                <el-tooltip content="短信必须设置签名才可以发送" placement="bottom" effect="light">
                                    <i class="el-icon-warning"  style="color:#c12e2a;margin-top: 10px;margin-left: 10px;"> * 名称长度为2-6个字符 </i>
                                </el-tooltip>
                            </span>
                                </el-col>
                            </el-row>


                        </el-form-item>
                        <div class="el-form-item" style="width: 600px;">
                            <label class="el-form-item__label" style="width: 130px;">短信示例:</label>
                            <div class="el-form-item__content" style="margin-left: 100px;">
                                <div class="el-input" style="width: 430px;"><!----><!---->
                                    <span style="font-size: 14px;line-height:35px;">今天下午请大家12：00-13:00排队领取注意防暑避暑。【万雍科技】</span>
                                </div>
                            </div>
                        </div>
                        <el-form-item label="">
                            <el-checkbox v-model="topSign" size="small" >允许顶级标签【万雍科技】<span style="color: #c12e2a">    *默认可以使用本部门标签</span></el-checkbox>
                        </el-form-item>
                    </el-form>
                    </div>
                 <div class="pd14">
                    <el-form label-width="130px" :model="ruleForm" ref="ruleForm" :rules="rules" style="margin: 20px 0px 20px 100px;width: 430px;">
                        <div class="el-form-item">
                            <label class="el-form-item__label" style="width: 120px;"><span style="font-size: 15px;margin-bottom: 20px;"><strong>发件箱设置</strong></span></label>
                            <div class="el-form-item__content" style="margin-left: 100px;">
                                <div style="width: 230px; line-height: 35px;">
                                    <span style="color: #c12e2a;font-size: 15px; margin-left: 10px;">默认使用顶级邮箱进行发送</span>
                                </div>
                            </div>
                        </div>
                        <el-form-item label="发件箱用户名:"  prop="maillAccount">
                            <el-input v-model="ruleForm.maillAccount" placeholder="smtp.qq.com"></el-input>
                        </el-form-item>
                        <el-form-item label="发件箱密码:"  prop="mailPassword" >
                            <el-input   type="password" v-model="ruleForm.mailPassword" placeholder="********"></el-input>
                        </el-form-item>
                        <el-form-item label="发件箱服务器:" prop="mailServerAddress" >
                            <el-input  v-model="ruleForm.mailServerAddress" placeholder="smtp.qq.com"></el-input>
                        </el-form-item>
                        <el-form-item label="服务端口:" prop="mailServerPort" >
                            <el-input  v-model="ruleForm.mailServerPort" placeholder="25"></el-input>
                        </el-form-item>
                    </el-form>
                 </div>
                <div class="pd14">
                    <div style="margin: 0px 0px 0px 209px;">
                        <el-row>
                            <el-col :span="12">
                                <el-row>
                                    <el-col :span="3">
                                        <el-button  type="primary" @click="addSign('ruleForm')" style="width: 100px;">提交</el-button>
                                    </el-col>
                                    <el-col :span="3" :offset="4">
                                        <el-button @click="reset('ruleForm')" style="width: 100px;">重置</el-button>
                                    </el-col>
                                </el-row>
                            </el-col>

                        </el-row>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>


<script type="text/javascript" src="templates/authority/common/js/jquery.ztree.all.min.js"></script>
<script type="text/javascript" src="templates/authority/common/js/jquery.ztree.exhide.min.js"></script>
<script type="text/javascript" src="templates/authority/messageSet/js/MyVanyBaseTree.js?ts=new Date().getTime()"></script>
<script type="text/javascript" src="templates/authority/common/js/cropper.js"></script>
<!--<script type="text/javascript" src="templates/base/js/vue-validator.common.min.js"></script>-->
<script type="text/javascript" src="templates/base/js/vue-validator.js"></script>
<script type="text/javascript" src="templates/authority/messageSet/js/signature.js?ts=new Date().getTime()"></script>
<script type="text/javascript" src="templates/authority/common/js/moveline.js?ts=new Date().getTime()"></script>